Practical Approaches For Designing Accessible Websites by Magazine Smashing

Practical Approaches For Designing Accessible Websites by Magazine Smashing

Author:Magazine, Smashing
Language: eng
Format: epub
Tags: Smashing eBooks
Publisher: Smashing Magazine GmbH
Published: 2015-08-25T16:00:00+00:00


Making Modals More Usable And Accessible

Semantic markup goes a long way to building a fully usable and accessible modal window, but still more CSS and JavaScript can take the experience to the next level.

Including Focus States

Provide a focus state! This obviously isn’t exclusive to modal windows; many elements lack a proper focus state in some form or another beyond the browser’s basic default one (which may or may not have been cleared by your CSS reset). At the very least, pair the focus state with the hover state you’ve already designed:

.btn:hover, .btn:focus { background: #f00; }

However, because focusing and hovering are different types of interaction, giving the focus state its own style makes sense.

.btn:hover { background: #f00; } :focus { box-shadow: 0 0 3px rgba(0,0,0,.75); }

Really, any item that can be focused should have a focus state. Keep that in mind if you’re extending the browser’s default dotted outline.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Deep Learning with Python by François Chollet(12623)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7802)
Grails in Action by Glen Smith Peter Ledbrook(7716)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6440)
Kotlin in Action by Dmitry Jemerov(5087)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3913)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3346)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(3098)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2885)
The Art Of Deception by Kevin Mitnick(2620)
Drugs Unlimited by Mike Power(2477)
The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution by Walter Isaacson(2416)
A Blueprint for Production-Ready Web Applications: Leverage industry best practices to create complete web apps with Python, TypeScript, and AWS by Dr. Philip Jones(2360)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2318)
Writing for the Web: Creating Compelling Web Content Using Words, Pictures and Sound (Eva Spring's Library) by Lynda Felder(2274)
SEO 2018: Learn search engine optimization with smart internet marketing strategies by Adam Clarke(2200)
JavaScript by Example by S Dani Akash(2149)
DarkMarket by Misha Glenny(2092)
Wireless Hacking 101 by Karina Astudillo(2088)
Hands-On Cybersecurity with Blockchain by Rajneesh Gupta(2060)